package com.aiit.service;

import com.aiit.pojo.Job;
import com.aiit.vo.PageResultVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LuTao
 * @Date: 2022/05/09/9:30
 */
public interface JobService extends IService<Job> {
    //条件查询岗位搜索
    List<Job> getJobsByConditionInPage(@Param("skipCount") int skipCount, @Param("jobName") String jobName,
                                       @Param("education") String education, @Param("experience") String experience,
                                       @Param("startCreateTime") String startCreateTime,
                                       @Param("city") String city, @Param("business") String business);
    //根据条件分页查询岗位
    PageResultVo<Job> getByCondition(Long page, Long limit, String job, String education, String area, String business, String startDate, String endDate);
}
